using System;
using System.ComponentModel.DataAnnotations;

namespace CommerceOne.Models.Entities
{
    public class Address
    {
        public int ID { get; set; }
        public int ContactID { get; set; }

        [Required]
        public string AddressTitle { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public string AddressLine1 { get; set; }
        public string AddressLine2 { get; set; }

        [Required]
        public int? CityId { get; set; }
        public int? StateId { get; set; }
        public int CountryId { get; set; }

        [Required]
        public string PostalCode { get; set; }

        [Required]
        public string HomePhone { get; set; }

        [Required]
        public string MobilePhone { get; set; }

        public string Remark { get; set; }
        public DateTime ModifiedDate { get; set; }

        public Contact Contact { get; set; }
        
    }
}
